/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const certRouter = {
  path: '/authorizationCenter',
  component: Layout,
  redirect: '/authorization/user',
  name: 'cert',
  meta: {
    title: '授权中心',
    icon: 'el-icon-tickets'
  },
  children: [
    {
      path: 'user',
      component: () => import('@/views/authorizationManage/user/index'),
      name: 'certList',
      meta: { title: '用户管理', icon: 'el-icon-s-custom' }
    },
    {
      path: 'role',
      component: () => import('@/views/authorizationManage/role/index'),
      name: 'certUpload',
      meta: { title: '角色管理', icon: 'el-icon-s-shop' }
    },
    {
      path: 'data',
      component: () => import('@/views/authorizationManage/data/index'),
      name: 'certDownload',
      meta: { title: '数据权限', icon: 'el-icon-s-data' }
    }
  ]
}
export default certRouter
